home *** CD-ROM | disk | FTP | other *** search
/ GFX Sensations 1 / Graphic Sensations - Volume 1.iso / tools / amiga / 3d_tools / irit40s.lha / Irit / inc / convex.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-01-02  |  780 b   |  19 lines

  1. /******************************************************************************
  2. * Convex.h - test convexity and converts polygons to convex ones.          *
  3. *******************************************************************************
  4. * Written by Gershon Elber, March 1990.                          *
  5. ******************************************************************************/
  6.  
  7. #ifndef CONVEX_GH
  8. #define CONVEX_GH
  9.  
  10. /* Prototypes of global functions of CONVEX module: */
  11. IPObjectStruct *ConvexPolyObjectN(IPObjectStruct *PObj);
  12. void ConvexPolyObject(IPObjectStruct *PObj);
  13. int ConvexPolygon(IPPolygonStruct *Pl);
  14. IPPolygonStruct *SplitNonConvexPoly(IPPolygonStruct *Pl);
  15. void GenRotateMatrix(MatrixType Mat, VectorType Dir);
  16. void ReverseVrtxList(IPPolygonStruct *Pl);
  17.  
  18. #endif /* CONVEX_GH */
  19.